#ifndef FILEINTERFACE_H_
#define FILEINTERFACE_H_

#include <stdint.h>

namespace opennav {
	class FileInterface {
	public:
		virtual ~FileInterface() { }

		virtual bool seek(int32_t pos) = 0;
		virtual bool read(void* buffer, int32_t size, int32_t& read_bytes) = 0;
		virtual bool close() = 0;
		virtual bool size(int32_t& size) = 0;
		virtual bool position(int32_t& position) = 0;
	};
}

#endif
